package cn.szsys.integration.config.filter.auth;

import com.fasterxml.jackson.annotation.JsonIgnore;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;

/**
 * @author Ryan
 * @since 2025-05-08
 **/
@Data
public class ReqSignParam implements Serializable {
    /**
     * ak
     */
    @NotBlank(message = "ak不能为空")
    private String ak;
    /**
     * aes秘钥
     */
    @JsonIgnore
    private String aks;
    /**
     * sign
     */
    @NotBlank(message = "sign不能为空")
    private String sign;
    /**
     * 请求时间戳
     */
    @NotNull(message = "time不能为空")
    private Long time;
    /**
     * 算法
     */
    @NotNull(message = "alg不能为空")
    private Integer alg;
    /**
     * 版本号
     */
    @NotNull(message = "ver不能为空")
    private Integer ver;
    /**
     * requestId
     */
    @NotNull(message = "requestId不能为空")
    private String requestId;
}
